package com.itheima.mm.dao;

import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.pojo.Question;

import java.util.List;
import java.util.Map;

/**
 * 包名:com.itheima.mm.dao
 * 作者:Leevi
 * 日期2020-01-16  09:15
 */
public interface QuestionDao {
    Long findBasicTotal(QueryPageBean queryPageBean);

    List<Question> findBasicList(QueryPageBean queryPageBean);

    void addQuestion(Question question);

    void updateQuestionStatus(Map<String, Object> map);

}
